package com.jf.blogbackened.service;

import com.jf.blogbackened.bean.Article;
import com.jf.blogbackened.bean.Result;

/**
 * @author David
 */
public interface ArticleService {
    Result getAllArticles(Article article, Integer currentPage, Integer pageSize);

    Result addOrUpdateArticle(Article article);

    Result getArticlesById(Integer id);

    Result delArticleById(Integer id);
}
